The Dreamweaver JavaScript API > Behavior functions > dom.getBehavior()

 

site.getCheckOutUser()

Availability

Dreamweaver 3.0

Description

Gets the login and check out name associated with the current site.

Arguments

None.

Returns

A string containing a login and check out name, if defined, or an empty string if check in/check out is disabled.

Enabler

None.

Example

A call to site.getCheckOutUser() might return "lori (loriLaptop)". If no check out name is specified, only the login is returned (for example, "lori").